package com.dfcj.oauth2server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.dfcj.oauth2server.dao")
public class OAuth2Server {
    public static void main(String[] args){
        new SpringApplicationBuilder(OAuth2Server.class).web(true).run(args);
    }
}
